﻿using Microsoft.Phone.Controls;

namespace BlankSilverlightProject_NonLocationAware
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            AdRotatorSilverlight.DefaultHouseAdBody = new MyDefaultAd();
            Loaded += new System.Windows.RoutedEventHandler(MainPage_Loaded);
        }

        void MainPage_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            AdRotatorSilverlight.Invalidate();
        }

        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            

            base.OnNavigatedTo(e);
        }
    }
}